#include "mosaic.h" 
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <iostream>
#include <opencv2/opencv.hpp>
#include "opencv2/core/core.hpp"
#include <opencv2/highgui/highgui.hpp>

#include<sys/socket.h>	//socket
#include<sys/types.h>
#include<netinet/in.h>
using namespace std;  
using namespace cv;  
    
int main(int argc,const char *argv[]) {  
    if (!Mosaic()) {  
        cerr << "Mosaic function failed." << endl;  
        return 1;  
    }  
    Mosaic();
    return 0;  
}